pyxl: fix build of python xl binding for python < 2.5
authorGianni Tedesco <gianni.tedesco@citrix.com>
Thu, 14 Oct 2010 11:46:29 +0000 (12:46 +0100)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Thu, 14 Oct 2010 11:46:29 +0000 (12:46 +0100)
commit92d4a8cf459ea72bf0c8300dc6f3a897f0d62633
tree056df1e22cb5d1a814471f6088a0383fcd56ece4
parent43e2c25aec8b01430fdd910b935b96a0f2b0692e
pyxl: fix build of python xl binding for python < 2.5

The python C API introduced Py_ssize_t in version 2.5. Prior to this
int's were used instead. Fix the build by way of a heinous preprocessor
macro.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/python/xen/lowlevel/xl/xl.c